using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._ParcelTools._Administration
{
    /// <summary>
    /// <para>Upgrade ArcMap Parcel Fabric</para>
    /// <para>Upgrades an ArcMap  parcel fabric to an ArcGIS Pro parcel fabric.</para>
    /// <para>将 ArcMap 宗地结构升级为 ArcGIS Pro 宗地结构。</para>
    /// </summary>    
    [DisplayName("Upgrade ArcMap Parcel Fabric")]
    public class UpgradeArcMapParcelFabric : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public UpgradeArcMapParcelFabric()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_parcel_fabric">
        /// <para>Input Parcel Fabric For ArcMap</para>
        /// <para>The ArcMap parcel fabric that will be upgraded to an ArcGIS Pro parcel fabric.</para>
        /// <para>将升级到 ArcGIS Pro 宗地结构的 ArcMap 宗地结构。</para>
        /// </param>
        /// <param name="_target_dataset">
        /// <para>Target Feature Dataset</para>
        /// <para>The feature dataset that will contain the upgraded ArcGIS Pro parcel fabric.</para>
        /// <para>将包含升级后的 ArcGIS Pro 宗地结构的要素数据集。</para>
        /// </param>
        /// <param name="_name">
        /// <para>Name</para>
        /// <para>The name of the upgraded ArcGIS Pro parcel fabric.</para>
        /// <para>升级后的 ArcGIS Pro 宗地结构的名称。</para>
        /// </param>
        public UpgradeArcMapParcelFabric(object _in_parcel_fabric, object _target_dataset, object _name)
        {
            this._in_parcel_fabric = _in_parcel_fabric;
            this._target_dataset = _target_dataset;
            this._name = _name;
        }
        public override string ToolboxName => "Parcel Tools";

        public override string ToolName => "Upgrade ArcMap Parcel Fabric";

        public override string CallName => "parcel.UpgradeArcMapParcelFabric";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_parcel_fabric, _target_dataset, _name, _out_parcel_fabric];

        /// <summary>
        /// <para>Input Parcel Fabric For ArcMap</para>
        /// <para>The ArcMap parcel fabric that will be upgraded to an ArcGIS Pro parcel fabric.</para>
        /// <para>将升级到 ArcGIS Pro 宗地结构的 ArcMap 宗地结构。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Parcel Fabric For ArcMap")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_parcel_fabric { get; set; }


        /// <summary>
        /// <para>Target Feature Dataset</para>
        /// <para>The feature dataset that will contain the upgraded ArcGIS Pro parcel fabric.</para>
        /// <para>将包含升级后的 ArcGIS Pro 宗地结构的要素数据集。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Target Feature Dataset")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _target_dataset { get; set; }


        /// <summary>
        /// <para>Name</para>
        /// <para>The name of the upgraded ArcGIS Pro parcel fabric.</para>
        /// <para>升级后的 ArcGIS Pro 宗地结构的名称。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Name")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _name { get; set; }


        /// <summary>
        /// <para>Output Parcel Fabric</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Parcel Fabric")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_parcel_fabric { get; set; }


        public UpgradeArcMapParcelFabric SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}